package proxy.jdk;


/**
 *
 * @author keithwang
 * @description
 * @date 2021/11/24 下午7:37
 */
public class JdkProxyTest {

    public static void main(String[] args) {
        Person person = (Person) new Agent().getInstance(new Jack()) ;
        System.out.println(person.getClass().getName());
        person.findHouse();
    }


}
